package CGW.bean;

import CGW.anno.Table;


@Table("t_order")
public class Dingdan {
    private Integer order_id;
    private Integer table_id;
    private Integer user_id;
    private Integer total_num;
    private Double order_total_price;
    private Integer order_status;

    public Dingdan() {
    }

    public Dingdan(Integer order_id, Integer table_id, Integer user_id, Integer total_num, Double order_total_price, Integer order_status) {
        this.order_id = order_id;
        this.table_id = table_id;
        this.user_id = user_id;
        this.total_num = total_num;
        this.order_total_price = order_total_price;
        this.order_status = order_status;
    }

    public Dingdan(Integer table_id, Integer user_id, Integer total_num, Double order_total_price, Integer order_status) {
        this.table_id = table_id;
        this.user_id = user_id;
        this.total_num = total_num;
        this.order_total_price = order_total_price;
        this.order_status = order_status;
    }

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public Integer getTable_id() {
        return table_id;
    }

    public void setTable_id(Integer table_id) {
        this.table_id = table_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Integer getTotal_num() {
        return total_num;
    }

    public void setTotal_num(Integer total_num) {
        this.total_num = total_num;
    }

    public Double getOrder_total_price() {
        return order_total_price;
    }

    public void setOrder_total_price(Double order_total_price) {
        this.order_total_price = order_total_price;
    }

    public Integer getOrder_status() {
        return order_status;
    }

    public void setOrder_status(Integer order_status) {
        this.order_status = order_status;
    }

    @Override
    public String toString() {
        return "Dingdan{" +
                "order_id=" + order_id +
                ", table_id=" + table_id +
                ", user_id=" + user_id +
                ", total_num=" + total_num +
                ", order_total_price=" + order_total_price +
                ", order_status=" + order_status +
                '}';
    }
}
